package com.slmxz.tms.system.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.slmxz.tms.system.model.entity.Dept;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "部门视图对象")
@Getter
@Setter
public class DeptVO extends Dept {

    @Schema(description = "公司")
    private String companyName;

    @Schema(description = "子部门")
    private List<DeptVO> children;

}
